package com.inputabc.ct.v1.setting;

import java.awt.*;

/**
 * 文本窗体的设置
 *
 * @author gaoweiyi
 */
public class TextBoxSetting {
    private Integer[] location;
    private Integer[] size;
    private Integer[] foreground;
    private FontSetting fontSetting;
    private BackgroundSetting backgroundSetting;
    private Float opacity ;

    public static class FontSetting {
        private Font font;
        private Integer size;

        public Integer getSize() {
            return size;
        }

        public void setSize(Integer size) {
            this.size = size;
        }

        public Font getFont() {
            return font;
        }

        public void setFont(Font font) {
            this.font = font;
        }
    }

    public static class BackgroundSetting {
        private Integer[] color;

        public Integer[] getColor() {
            return color;
        }

        public void setColor(Integer[] color) {
            this.color = color;
        }

    }

    public Integer[] getSize() {
        return size;
    }

    public void setSize(Integer[] size) {
        this.size = size;
    }

    public FontSetting getFontSetting() {
        return fontSetting;
    }

    public void setFontSetting(FontSetting fontSetting) {
        this.fontSetting = fontSetting;
    }

    public BackgroundSetting getBackgroundSetting() {
        return backgroundSetting;
    }

    public void setBackgroundSetting(BackgroundSetting backgroundSetting) {
        this.backgroundSetting = backgroundSetting;
    }

    public Integer[] getForeground() {
        return foreground;
    }

    public void setForeground(Integer[] foreground) {
        this.foreground = foreground;
    }
    public Integer[] getLocation() {
        return location;
    }

    public void setLocation(Integer[] location) {
        this.location = location;
    }

    public Float getOpacity() {
        return opacity;
    }

    public void setOpacity(Float opacity) {
        this.opacity = opacity;
    }
}
